﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Role_Default : BasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        UserPower.CheckAction((int)FreeHouse.Power.Actions.TRole.List);
        if (!IsPostBack)
            BindData();
    }

    protected void BindData()
    {
        gv.DataSource = new FreeHouse.BLL.TRole().GetList("");
        gv.DataBind();
    }
}
